package com.peng.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 市场活动备注表
 * @TableName t_activity_remark
 */
@TableName(value ="t_activity_remark")
@Data
public class TActivityRemark implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键，自动增长，活动备注ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 活动ID
     */
    @TableField(value = "activity_id")
    private Integer activity_id;

    /**
     * 备注内容
     */
    @TableField(value = "note_content")
    private String note_content;

    /**
     * 备注创建时间
     */
    @TableField(value = "create_time")
    private Date create_time;

    /**
     * 备注创建人
     */
    @TableField(value = "create_by")
    private Integer create_by;

    /**
     * 备注编辑时间
     */
    @TableField(value = "edit_time")
    private Date edit_time;

    /**
     * 备注编辑人
     */
    @TableField(value = "edit_by")
    private Integer edit_by;

    /**
     * 删除状态（0正常，1删除）
     */
    @TableField(value = "deleted")
    private Integer deleted;

    /**
     * 一对一关联
     */
    @TableField(exist = false)
    private TUser createByDO;
    @TableField(exist = false)
    private TUser editByDO;
}